package com.rfid.project.model;

import javax.persistence.*;

import biz.core.KeyValue;
import biz.util.KeyValueUtil;
import biz.util.StringUtil;
import biz.core.IdEntity;

import java.util.Date;
import java.util.ArrayList;
import java.util.List;

@Entity
public class AftersaleTransferRecord extends IdEntity {

	// 原处理人
	@ManyToOne
	@JoinColumn(name = "OriginalHandlePersonID")
	private People originalHandlePerson;

	// 新处理人
	@ManyToOne
	@JoinColumn(name = "TargetHandlePersonID")
	private People targetHandlePerson;

	// 售后记录
	@ManyToOne
	@JoinColumn(name = "AftersaleRecordID")
	private AftersaleRecord aftersaleRecord;

	// 流转时间
	private Date transferTime;

	// 备注
	private String remark;

	public People getOriginalHandlePerson() {
		return originalHandlePerson;
	}

	public void setOriginalHandlePerson(People originalHandlePerson) {
		this.originalHandlePerson = originalHandlePerson;
	}

	public People getTargetHandlePerson() {
		return targetHandlePerson;
	}

	public void setTargetHandlePerson(People targetHandlePerson) {
		this.targetHandlePerson = targetHandlePerson;
	}

	public AftersaleRecord getAftersaleRecord() {
		return aftersaleRecord;
	}

	public void setAftersaleRecord(AftersaleRecord aftersaleRecord) {
		this.aftersaleRecord = aftersaleRecord;
	}

	public Date getTransferTime() {
		return transferTime;
	}

	public void setTransferTime(Date transferTime) {
		this.transferTime = transferTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
